import styled from 'styled-components';

export const PlayerBarListWrapper = styled.div`
  display: none;
  width: 986px;
  height: 301px;
  position: fixed;
  bottom: 47px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  .listhd {
    background-position: 0 0;
    height: 41px;
    position: relative;
    > h4 {
      position: absolute;
      left: 25px;
      top: 0;
      height: 39px;
      line-height: 39px;
      font-size: 14px;
      color: #e2e2e2;
    }
    .icon {
      float: left;
      width: 15px;
      height: 15px;
    }
    .add {
      position: absolute;
      left: 398px;
      top: 12px;
      height: 15px;
      line-height: 15px;
      cursor: pointer;
      color: #ccc;
      .add_icon {
        background-position: -24px 0;
        margin: 1px 6px 0 0;
      }
      &:hover {
        color: #fff;
        .add_icon {
          background-position: -24px -20px;
        }
      }
    }
    .line {
      position: absolute;
      top: 13px;
      left: 477px;
      height: 15px;
      border-left: 1px solid #000;
      border-right: 1px solid #2c2c2c;
    }
    .clear {
      position: absolute;
      left: 490px;
      top: 12px;
      height: 15px;
      line-height: 15px;
      cursor: pointer;
      color: #ccc;
      .clear_icon {
        background-position: -51px 0;
        margin: 1px 6px 0 0;
      }
      &:hover {
        color: #fff;
        .clear_icon {
          background-position: -51px -20px;
        }
      }
    }
    .name {
      position: absolute;
      left: 595px;
      top: 0;
      width: 346px;
      text-align: center;
      height: 39px;
      line-height: 39px;
      color: #fff;
      font-size: 14px;
    }
    .close {
      position: absolute;
      top: 6px;
      right: 8px;
      width: 30px;
      height: 30px;
      overflow: hidden;
      text-indent: -999px;
      cursor: pointer;
      background-position: -195px 9px;
      &:hover {
        background-position: -195px -21px;
      }
    }
  }
  .bline {
    position: absolute;
    left: 555px;
    top: -1px;
    z-index: 2;
    width: 6px;
    height: 260px;
    background: #000;
    opacity: 0.5;
    .scroll {
      position: absolute;
      left: 0;
      top: 0px;
      width: 4px;
      border-radius: 5px;
      height: 100px;
      cursor: pointer;
      background: #868686;
      border: 1px solid #a6a6a6;
      opacity: 0.8;
    }
  }
  .listbd {
    position: relative;
    width: 986px;
    height: 260px;
    background-position: -1014px 0;
    background-repeat: repeat-y;
    .msk {
      position: absolute;
      left: 2px;
      z-index: 2;
      width: 558px;
      height: 260px;
      background: #121212;
      opacity: 0.5;
    }
    .ask {
      position: absolute;
      right: 25px;
      top: 12px;
      cursor: pointer;
      z-index: 5;
      .ask_icon {
        display: inline-block;
        width: 21px;
        height: 21px;
        background-position: 0 -50px;
        text-indent: 0;
        &:hover {
          background-position: -24px -50px;
        }
      }
    }
    .scrolling {
      position: absolute;
      right: 3px;
      z-index: 2;
      width: 6px;
      height: 260px;
      background: #000;
      opacity: 0.5;
      .scroll {
        position: absolute;
        display: inline-block;
        background: #868686;
        width: 4px;
        border-radius: 5px;
        cursor: pointer;
        border: 1px solid #a6a6a6;
        opacity: 0.8;
      }
    }
    .songLists {
      position: absolute;
      left: 2px;
      top: 0;
      z-index: 4;
      height: 260px;
      width: 553px;
      overflow: hidden;
      &:affter {
        clear: both;
      }
    }
    .lyric {
      position: absolute;
      right: 40px;
      top: 0;
      z-index: 4;
      margin: 21px 0 20px 0;
      height: 210px;
      width: 354px;
      overflow: hidden;
      .lyric-content {
        transition: transform 0.7s linear;
        > p {
          color: #989898;
          word-wrap: break-word;
          text-align: center;
          line-height: 30px;
          height: 30px;
          &.active {
            color: #fff;
            font-size: 14px;
            transition: color 0.7s linear;
          }
        }
      }
    }
  }
`;
